
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>基础算法 · 柠檬草资料集合</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="李雪梅 <lixuemei@genomics.cn>">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-ace/ace.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-yahei/yahei.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="file_input_output.html" />
    
    
    <link rel="prev" href="data_structure.html" />
    

    
    <script src="../gitbook/gitbook-plugin-chart/highcharts/highcharts.js"></script>
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="data_structure.html">
            
                <a href="data_structure.html">
            
                    
                    数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.2" data-path="basic_algorithm.html">
            
                <a href="basic_algorithm.html">
            
                    
                    基础算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="file_input_output.html">
            
                <a href="file_input_output.html">
            
                    
                    文件I/O
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="database.html">
            
                <a href="database.html">
            
                    
                    数据库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="modules.html">
            
                <a href="modules.html">
            
                    
                    模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="glue.html">
            
                <a href="glue.html">
            
                    
                    胶水
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="deal_with_chinese_characters.html">
            
                <a href="deal_with_chinese_characters.html">
            
                    
                    中文处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="match.html">
            
                <a href="match.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="web.html">
            
                <a href="web.html">
            
                    
                    Web
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../ubuntu/">
            
                <a href="../ubuntu/">
            
                    
                    Ubuntu
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../ubuntu/win10.html">
            
                <a href="../ubuntu/win10.html">
            
                    
                    默认win10启动
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >基础算法</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x57FA;&#x7840;&#x7B97;&#x6CD5;"><a name="&#x57FA;&#x7840;&#x7B97;&#x6CD5;" class="plugin-anchor" href="#&#x57FA;&#x7840;&#x7B97;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x57FA;&#x7840;&#x7B97;&#x6CD5;</h1>
<!-- toc -->
<ul>
<li><a href="#%E5%86%92%E6%B3%A1%E6%8E%92%E5%BA%8F">&#x5192;&#x6CE1;&#x6392;&#x5E8F;</a></li>
<li><a href="#%E9%80%92%E5%BD%92">&#x9012;&#x5F52;</a><ul>
<li><a href="#%E7%9B%B4%E6%8E%A5%E8%B0%83%E7%94%A8%E8%87%AA%E5%B7%B1">&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;</a></li>
<li><a href="#%E9%97%B4%E6%8E%A5%E8%B0%83%E7%94%A8%E8%87%AA%E5%B7%B1">&#x95F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;</a></li>
<li><a href="#%E9%80%92%E5%BD%92%E7%9A%84%E5%AE%9E%E7%8E%B0">&#x9012;&#x5F52;&#x7684;&#x5B9E;&#x73B0;</a></li>
<li><a href="#%E9%80%92%E5%BD%92%E7%9A%84%E5%9B%9E%E6%BA%AF%E4%B8%8E%E9%80%92%E6%8E%A8">&#x9012;&#x5F52;&#x7684;&#x56DE;&#x6EAF;&#x4E0E;&#x9012;&#x63A8;</a></li>
</ul>
</li>
<li><a href="#%E6%9F%A5%E8%AF%A2">&#x67E5;&#x8BE2;</a><ul>
<li><a href="#%E5%88%97%E8%A1%A8%E6%9F%A5%E8%AF%A2">&#x5217;&#x8868;&#x67E5;&#x8BE2;</a></li>
<li><a href="#%E4%BA%8C%E5%8F%89%E6%A0%91%E6%9F%A5%E8%AF%A2">&#x4E8C;&#x53C9;&#x6811;&#x67E5;&#x8BE2;</a></li>
</ul>
</li>
</ul>
<!-- tocstop -->
<h2 id="&#x5192;&#x6CE1;&#x6392;&#x5E8F;"><a name="&#x5192;&#x6CE1;&#x6392;&#x5E8F;" class="plugin-anchor" href="#&#x5192;&#x6CE1;&#x6392;&#x5E8F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5192;&#x6CE1;&#x6392;&#x5E8F;</h2>
<blockquote>
<p>&#x5B83;&#x91CD;&#x590D;&#x5730;&#x8D70;&#x8BBF;&#x8FC7;&#x8981;&#x6392;&#x5E8F;&#x7684;&#x6570;&#x5217;&#xFF0C;&#x4E00;&#x6B21;&#x6BD4;&#x8F83;&#x4E24;&#x4E2A;&#x5143;&#x7D20;&#xFF0C;&#x5982;&#x679C;&#x4ED6;&#x4EEC;&#x7684;&#x987A;&#x5E8F;&#x9519;&#x8BEF;&#x5C31;&#x628A;&#x4ED6;&#x4EEC;&#x4EA4;&#x6362;&#x8FC7;&#x6765;&#x3002;&#x8D70;&#x8BBF;&#x6570;&#x5217;&#x7684;&#x5DE5;&#x4F5C;&#x662F;&#x91CD;&#x590D;&#x5730;&#x8FDB;&#x884C;&#x76F4;&#x5230;&#x6CA1;&#x6709;&#x518D;&#x9700;&#x8981;&#x4EA4;&#x6362;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x8BE5;&#x6570;&#x5217;&#x5DF2;&#x7ECF;&#x6392;&#x5E8F;&#x5B8C;&#x6210;&#x3002;</p>
</blockquote>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">bubble_sort</span><span class="hljs-params">(lists)</span>:</span>
    <span class="hljs-comment"># &#x5192;&#x6CE1;&#x6392;&#x5E8F;</span>
    count = len(lists)
    <span class="hljs-keyword">for</span> i <span class="hljs-keyword">in</span> range(<span class="hljs-number">0</span>, count):
        <span class="hljs-keyword">for</span> j <span class="hljs-keyword">in</span> (i + <span class="hljs-number">1</span>, count):
            <span class="hljs-keyword">if</span> lists[i] &gt; lists[j]:
                <span class="hljs-comment"># &#x4EA4;&#x6362;&#x4F4D;&#x7F6E;</span>
                lists[i], lists[j] = lists[j], lists[i]
    <span class="hljs-keyword">return</span> lists
</code></pre>
<h2 id="&#x9012;&#x5F52;"><a name="&#x9012;&#x5F52;" class="plugin-anchor" href="#&#x9012;&#x5F52;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9012;&#x5F52;</h2>
<blockquote>
<p>&#x9012;&#x5F52;:&#x5728;&#x8C03;&#x7528;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;&#x76F4;&#x63A5;&#x6216;&#x95F4;&#x63A5;&#x5730;&#x8C03;&#x7528;&#x4E86;&#x51FD;&#x6570;&#x672C;&#x8EAB;&#x8FD9;&#x4E2A;&#x5C31;&#x53EB;&#x9012;&#x5F52;</p>
<p><strong>[danger] &#x6CE8;&#xFF1A;Python&#x5728;&#x9012;&#x5F52;&#x4E2D;&#x6CA1;&#x6709;&#x50CF;&#x522B;&#x7684;&#x8BED;&#x8A00;&#x5BF9;&#x9012;&#x5F52;&#x8FDB;&#x884C;&#x4F18;&#x5316;&#xFF0C;&#x6240;&#x4EE5;&#x4ED6;&#x7684;&#x6BCF;&#x4E00;&#x6B21;&#x8C03;&#x7528;&#x90FD;&#x4F1A;&#x57FA;&#x4E8E;&#x4E0A;&#x4E00;&#x6B21;&#x7684;&#x8C03;&#x7528;&#x8FDB;&#x884C;&#xFF0C;&#x5E76;&#x4E14;&#x4ED6;&#x8BBE;&#x7F6E;&#x4E86;&#x6700;&#x5927;&#x7684;&#x9012;&#x5F52;&#x6570;&#x91CF;&#x9632;&#x6B62;&#x9012;&#x5F52;&#x5916;&#x6EA2;</strong></p>
</blockquote>
<h3 id="&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;"><a name="&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;" class="plugin-anchor" href="#&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">func</span><span class="hljs-params">()</span>:</span>
    print(<span class="hljs-string">&apos;from func&apos;</span>)
    func()

func()
</code></pre>
<h3 id="&#x95F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;"><a name="&#x95F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;" class="plugin-anchor" href="#&#x95F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x95F4;&#x63A5;&#x8C03;&#x7528;&#x81EA;&#x5DF1;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">foo</span><span class="hljs-params">()</span>:</span>
    print(<span class="hljs-string">&apos;from foo&apos;</span>)
    bar()

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">bar</span><span class="hljs-params">()</span>:</span>
    print(<span class="hljs-string">&apos;from bar&apos;</span>)
    foo()

foo()
</code></pre>
<h3 id="&#x9012;&#x5F52;&#x7684;&#x5B9E;&#x73B0;"><a name="&#x9012;&#x5F52;&#x7684;&#x5B9E;&#x73B0;" class="plugin-anchor" href="#&#x9012;&#x5F52;&#x7684;&#x5B9E;&#x73B0;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9012;&#x5F52;&#x7684;&#x5B9E;&#x73B0;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">age</span><span class="hljs-params">(n)</span>:</span>
    <span class="hljs-keyword">if</span> n == <span class="hljs-number">1</span>:
        <span class="hljs-keyword">return</span> <span class="hljs-number">18</span>
    <span class="hljs-keyword">return</span> age(n<span class="hljs-number">-1</span>)+<span class="hljs-number">2</span>

print(age(<span class="hljs-number">5</span>))

<span class="hljs-comment"># age(5)=age(4)+2 &#x7B2C;&#x4E00;&#x6B21;&#x8FDB;&#x5165;</span>
<span class="hljs-comment"># age(4)=age(3)+2 &#x7B2C;&#x4E8C;&#x6B21;&#x8FDB;&#x5165;</span>
<span class="hljs-comment"># age(3)=age(2)+2 &#x7B2C;&#x4E09;&#x6B21;&#x8FDB;&#x5165;</span>
<span class="hljs-comment"># age(2)=age(1)+2 &#x7B2C;&#x56DB;&#x6B21;&#x8FDB;&#x5165;</span>
<span class="hljs-comment"># age(1)=18 &#x7B2C;&#x4E94;&#x6B21;&#x8FDB;&#x5165;&#xFF0C;&#x6700;&#x540E;&#x5224;&#x65AD;&#x7EC8;&#x6B62;&#x6761;&#x4EF6;</span>

<span class="hljs-comment"># age(n)=age(n-1)+2 #n&gt;1  &#x9012;&#x5F52;&#x7EC8;&#x6B62;&#x6761;&#x4EF6;</span>
<span class="hljs-comment"># age(1)=18 #n=1          &#x7B49;&#x4E8E;&#x7EC8;&#x6B62;&#x6761;&#x4EF6;</span>
</code></pre>
<h3 id="&#x9012;&#x5F52;&#x7684;&#x56DE;&#x6EAF;&#x4E0E;&#x9012;&#x63A8;"><a name="&#x9012;&#x5F52;&#x7684;&#x56DE;&#x6EAF;&#x4E0E;&#x9012;&#x63A8;" class="plugin-anchor" href="#&#x9012;&#x5F52;&#x7684;&#x56DE;&#x6EAF;&#x4E0E;&#x9012;&#x63A8;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9012;&#x5F52;&#x7684;&#x56DE;&#x6EAF;&#x4E0E;&#x9012;&#x63A8;</h3>
<blockquote>
<p>&#x9012;&#x63A8;&#xFF1A;&#x50CF;&#x4E0A;&#x8FB9;&#x9012;&#x5F52;&#x5B9E;&#x73B0;&#x6240;&#x62C6;&#x89E3;&#xFF0C;&#x9012;&#x5F52;&#x6BCF;&#x4E00;&#x6B21;&#x90FD;&#x662F;&#x57FA;&#x4E8E;&#x4E0A;&#x4E00;&#x6B21;&#x8FDB;&#x884C;&#x4E0B;&#x4E00;&#x6B21;&#x7684;&#x6267;&#x884C;&#xFF0C;&#x8FD9;&#x53EB;&#x9012;&#x63A8;</p>
<p>&#x56DE;&#x6EAF;&#xFF1A;&#x5219;&#x662F;&#x5728;&#x9047;&#x5230;&#x7EC8;&#x6B62;&#x6761;&#x4EF6;&#xFF0C;&#x5219;&#x4ECE;&#x6700;&#x540E;&#x5F80;&#x56DE;&#x8FD4;&#x4E00;&#x7EA7;&#x4E00;&#x7EA7;&#x7684;&#x628A;&#x503C;&#x8FD4;&#x56DE;&#x6765;&#xFF0C;&#x8FD9;&#x53EB;&#x56DE;&#x6EAF;</p>
</blockquote>
<h2 id="&#x67E5;&#x8BE2;"><a name="&#x67E5;&#x8BE2;" class="plugin-anchor" href="#&#x67E5;&#x8BE2;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x67E5;&#x8BE2;</h2>
<h3 id="&#x5217;&#x8868;&#x67E5;&#x8BE2;"><a name="&#x5217;&#x8868;&#x67E5;&#x8BE2;" class="plugin-anchor" href="#&#x5217;&#x8868;&#x67E5;&#x8BE2;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5217;&#x8868;&#x67E5;&#x8BE2;</h3>
<ol>
<li>&#x5355;&#x4E00;&#x5143;&#x7D20;&#x5217;&#x8868;&#x67E5;&#x8BE2;<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">lists_exists</span><span class="hljs-params">(lists, element)</span>:</span>
 <span class="hljs-keyword">if</span> element <span class="hljs-keyword">in</span> lists:
     <span class="hljs-keyword">return</span> <span class="hljs-keyword">True</span>
 <span class="hljs-keyword">else</span>:
     <span class="hljs-keyword">return</span> <span class="hljs-keyword">False</span>
</code></pre>
</li>
<li>&#x5D4C;&#x5957;&#x5217;&#x8868;&#x67E5;&#x8BE2;
```python<h1 id="&#x5229;&#x7528;&#x9012;&#x5F52;&#x548C;&#x56DE;&#x6EAF;"><a name="&#x5229;&#x7528;&#x9012;&#x5F52;&#x548C;&#x56DE;&#x6EAF;" class="plugin-anchor" href="#&#x5229;&#x7528;&#x9012;&#x5F52;&#x548C;&#x56DE;&#x6EAF;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5229;&#x7528;&#x9012;&#x5F52;&#x548C;&#x56DE;&#x6EAF;</h1>
l =[1, 2, [3, [4, 5, 6, [7, 8, [9, 10, [11, 12, 13, [14, 15,[16,[17,]],19]]]]]]]</li>
</ol>
<p>def search(l):
    for item in l:
        if type(item) is list:
            search(item)
        else:
            print(item)</p>
<p>search(l)
```</p>
<h3 id="&#x4E8C;&#x53C9;&#x6811;&#x67E5;&#x8BE2;"><a name="&#x4E8C;&#x53C9;&#x6811;&#x67E5;&#x8BE2;" class="plugin-anchor" href="#&#x4E8C;&#x53C9;&#x6811;&#x67E5;&#x8BE2;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E8C;&#x53C9;&#x6811;&#x67E5;&#x8BE2;</h3>
<blockquote>
<p><a href="data_structure.html#python3-json">&#x8BE6;&#x89C1;&#x6570;&#x636E;&#x7ED3;&#x6784;&#x4E8C;&#x53C9;&#x6811;&#x90E8;&#x5206;</a></p>
</blockquote>
<footer class="page-footer"><span class="copyright">Copyright(C) 2018, &#x674E;&#x96EA;&#x6885; <lixuemei@genomics.cn> all right reserved&#xFF0C;powered by Gitbook</lixuemei@genomics.cn></span><span class="footer-modification">&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-03-07 16:47:02
</span></footer>


<script type="text/javascript">var targetUl = document.getElementsByClassName('page-inner')[0].getElementsByTagName('ul')[0];if(targetUl.getElementsByTagName('a').length>0){targetUl.className='toc';}</script>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="data_structure.html" class="navigation navigation-prev " aria-label="Previous page: 数据结构">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="file_input_output.html" class="navigation navigation-next " aria-label="Next page: 文件I/O">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"基础算法","level":"1.2.2","depth":2,"next":{"title":"文件I/O","level":"1.2.3","depth":2,"path":"python/file_input_output.md","ref":"python/file_input_output.md","articles":[]},"previous":{"title":"数据结构","level":"1.2.1","depth":2,"path":"python/data_structure.md","ref":"python/data_structure.md","articles":[]},"dir":"ltr"},"config":{"plugins":["tbfed-pagefooter","ace","splitter","yahei","toc","anchor-navigation","-search","-lunr","search-pro","-sharing","sharing-plus","anchors","copy-code-button","alerts","include-csv","chart"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright(C) 2018, 李雪梅 <lixuemei@genomics.cn>","modify_label":"修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"include-csv":{},"ace":{},"yahei":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"toc":{"addClass":true,"className":"toc"},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"anchor-navigation":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"alerts":{},"copy-code-button":{},"sharing":{"qq":true,"all":["facebook","google","twitter","weibo","instapaper","linkedin","pocket","stumbleupon"],"douban":true,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":true},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"chart":{"type":"highcharts"}},"theme":"default","author":"李雪梅 <lixuemei@genomics.cn>","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"柠檬草资料集合","language":"zh-hans","gitbook":"*","description":"柠檬草资料集合"},"file":{"path":"python/basic_algorithm.md","mtime":"2018-03-07T08:47:02.741Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-03-07T09:57:15.687Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

